
public class ResultImage {
	
	private float x;
	private float y;
	private float h;
	private float w;
	private double sim;
	MyImage img = null;

	/**
	 * @param x
	 * @param y
	 * @param h
	 * @param w
	 * @param img
	 */
	public ResultImage(float x, float y, float h, float w, MyImage img) {
		super();
		this.x = x;
		this.y = y;
		this.h = h;
		this.w = w;
		this.img = img;
	}

	/**
	 * @param img
	 * @param sim
	 */
	public ResultImage(MyImage img, double sim) {
		super();
		this.img = img;
		this.sim = sim;
		
	}

	/**
	 * @return the x
	 */
	public float getX() {
		return x;
	}

	/**
	 * @param x the x to set
	 */
	public void setX(float x) {
		this.x = x;
	}

	/**
	 * @return the y
	 */
	public float getY() {
		return y;
	}

	/**
	 * @param y the y to set
	 */
	public void setY(float y) {
		this.y = y;
	}

	/**
	 * @return the h
	 */
	public float getH() {
		return h;
	}

	/**
	 * @param h the h to set
	 */
	public void setH(float h) {
		this.h = h;
	}

	/**
	 * @return the w
	 */
	public float getW() {
		return w;
	}

	/**
	 * @param w the w to set
	 */
	public void setW(float w) {
		this.w = w;
	}

	/**
	 * @return the img
	 */
	public MyImage getImg() {
		return img;
	}

	/**
	 * @param img the img to set
	 */
	public void setImg(MyImage img) {
		this.img = img;
	}

	/**
	 * @return the sim
	 */
	public double getSim() {
		return sim;
	}

	/**
	 * @param sim the sim to set
	 */
	public void setSim(double sim) {
		this.sim = sim;
	}
	
	
	
	
}
